package cn.lds.j368.dsbank.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author Christopher
 * @since 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "ROLE_ID", type = IdType.AUTO)
    private Integer roleId;

    private String roleType;

    private String roleName;

    private String roleDesc;

    private Integer isDeleted;

    @TableField(exist = false)
    private List<Authority> authorityList;


}
